﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CreateMenu
{
    public partial class Principal : Form
    {
        public Principal()
        {
            InitializeComponent();
        }

        private void Principal_Load(object sender, EventArgs e)
        {

        }

        private void MenuItemModulo_Click(object sender, EventArgs e)
        {
            Modulo m = new Modulo();
            m.MdiParent = this;
            m.Show();
        }   

        private void MenuItemEditar_Click(object sender, EventArgs e)
        {
            RelacionModulos rm = new RelacionModulos();
            rm.MdiParent = this;
            rm.Show();
        }

        private void MenuItemCambiarParentesco_Click(object sender, EventArgs e)
        {
            EditarModulo em = new EditarModulo();
            em.MdiParent = this;
            em.Show();
        }

        private void MenuItemAccion_Click(object sender, EventArgs e)
        {
            MessageBox.Show("En construccion");
        }

        private void testToolStripMenuItem_Click(object sender, EventArgs e)
        {
           
        }
    }
}
